<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Carbon\Carbon;
class StoreTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
	    $data=[[
			'department_id'=>1,
	    	'name'=>'徐汇店',
		    'owner_name'=>'张三丰',
		    'leader_id'=>1,
		    'people_num'=>3,
		    'month_hour'=>240,
		    'continue_hour'=>0.5,
		    'radius'=>100,
		    'address'=>'上海市浦东新区上南路',
		    'longitude'=>'121.328554,31.243829',
		    'latitude'=>'121.328554,31.243829',
		    'company_id'=>1,
		    'created_at' => Carbon::now(),
		    'updated_at' => Carbon::now()

	    ]];

	    DB::table('store')->insert($data);

    }
}
